<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{%$systemLang.systemTitle%}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="{%$smarty.const.BASEURI%}public/css/main.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="http://static.joyopark.com/images/favicon.ico" type="image/x-icon"/>
<script language="javascript" src="{%$smarty.const.BASEURI%}public/js/jquery-1.4.4.min.js"></script>
<script language="javascript" src="{%$smarty.const.BASEURI%}public/js/common.js"></script>
</head>
<body scrolling="no">
<table style="background: url(/public/images/topbg.png)">
<tr><td  colspan="4"><img src="/public/images/ico_01.jpg"/></td>

    <td><div class="user_info">
                      <ul>
                        <li>{%$systemLang.manageInfo%}:</li>
                        <li>{%$systemLang.userName%}[<span class="adm_name">{%$user.user_name%}</span>]</li>
                        <li>{%$systemLang.userGroup%}[<span class="adm_grp">{%$user.group_value%}</span>]</li>
                        <li>|</li>
                        <LI><span class="adm_ctrl"><a href="/login/loginout/admin">{%$systemLang.logout%}</a></span></li>
                      </ul> </td></tr>
</table>
<script type="text/javascript">
$(document).ready(function(){
	$(".left_menu ul").hide();
	$.each($(".main_menu_title_left"),
        function(){
          $(this).click(function(){
             $(".left_menu ul").not('#group_menu_'+this.id).slideUp(500);
            $('#group_menu_'+this.id).slideToggle(500);
            });
        }
    );
    $('#group_menu_137').slideToggle(500);
});
</script>
<table cellpadding="0" cellspacing="0" width="100%" height="93%" >
  <tr>
    <td valign="top" width="1%"><!--次菜单-->
        <div  class="left">
          <div class="left_menu" width="50px;">
            {%foreach from=$menu_1 name="top_menu" item="row" key="i"%}
                    <div class="main_menu_title" style="cursor:pointer;">
                        <div class="main_menu_title_left" id="{%$row.menu_id%}"> {%$row.menu_name%}</div>
                    </div>
                    <ul id="group_menu_{%$row.menu_id%}" class="group_menu_{%$row.menu_id%}" style="display:block;">
                         {%foreach from=$menu_2[$row.menu_id] item="child"%}
                            <li class="menu_title" onClick="main_frame_src('{%$smarty.const.BASEURI%}{%$child.menu_url%}','{%$row.menu_name%}','{%$child.menu_name%}')" >
                                <span>{%$child.menu_name%}</span>
                            </li>
                        {%/foreach%}
                    </ul>
            {%/foreach%}
          </div>
        </div>
    </td>
    <td style="background: url(/public/images/topbg.png)"></td>
    <td valign="top" style="padding:0px;">
        <div class="position">
	        {%$systemLang.currentPoit%} >><span id="posInfo"></span>
        </div>
        <iframe {%if ! empty($smarty.session.update_password)%}src="{%$smarty.const.BASEURI%}user/editmypwd"{%else%}src="{%$smarty.const.BASEURI%}admin/main"{%/if%} id="main" name="main" width="100%" height="100%" allowtransparency="true" border="0" frameborder="0" marginwidth="0px" marginheight="0px" >
    </iframe>
    </td>
  </tr>
</table>
</body>
</html>